package com.fengniu.ejb.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "User2UserTable", schema = "FENGNIU", uniqueConstraints = {})
public class User2User extends GeneRelation implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5433861081990354325L;

	@ManyToOne
	User user;

	@ManyToOne
	User user2;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getUser2() {
		return user2;
	}

	public void setUser2(User userTo) {
		this.user2 = userTo;
	}

}
